<html>
<body>
<center>
<h2>Hello World!</h2>

<a href="hello">hello</a><br><br>
<a href="helloRequestMapping/testRequestMapping">RequestMapping</a>
<br><br>
<form action="helloRequestMapping/testMethod" method="post">
<input type="submit" value="submit"/>
</form>
<a href="helloRequestMapping/testParamsAndHeader?username=Tom&age=11">testParamsAndHeader</a>
<br><br>
<a href="helloRequestMapping/testPathVariable/123">testPathVariable</a>
<br><br>
<a href="helloRequestMapping/testRest/1">test GET</a>
<br>
<form action="helloRequestMapping/testRest" method="post">
    <input type="submit" value="Post"/>
</form>
<br>
<form action="helloRequestMapping/testRest/1" method="post">
    <input type="hidden" name="_method" value="DELETE">
    <input type="submit" value="DELETE"/>
</form>
<br>
<form action="helloRequestMapping/testRest/1" method="post">
    <input type="hidden" name="_method" value="PUT">
    <input type="submit" value="PUT"/>
</form>
<br>
<a href="helloRequestMapping/testRequestParam?username=Tom&age=11">test RequestParam</a><br><br>
<a href="helloRequestMapping/testRequest">test RequestParam</a><br><br>

    <form action="helloRequestMapping/testPojo" method="post">
        username:<input type="text" name="username"/><br><br>
        password:<input type="password" name="password"/><br><br>
        age:<input type="text" name="age"/><br><br>
        city:<input type="text" name="address.city"/><br><br>
        province:<input type="text" name="address.province"/><br><br>
        <input type="submit" value="testPojo"/>
    </form>

    <a href="helloRequestMapping/testHttpServletAPI">test HttpServletAPI</a><br><br>
    <a href="helloRequestMapping/testModelAndView">test ModelAndView</a><br><br>
    <a href="helloRequestMapping/testMap">testMap</a><br><br>
    <a href="helloRequestMapping/testSessionAttributes">testSessionAttributes</a><br><br>

    <form action="helloRequestMapping/testModelAttribute" method="post">
        <input type="hidden" name="id" value="1"/>
        username:  <input type="text" name="username" value="Tom"/>
        age:  <input type="text" name="age" value="12"/>
        <input type="submit"  value="testModelAttribute"/>
    </form>

    <a href="helloRequestMapping/testResponse">testResponse</a><br><br>

    <a href="helloRequestMapping/testRequest">test Request</a><br><br>
    <a href="helloRequestMapping/testView">test View</a><br><br>

</center>
</body>
</html>
